package org.lightdi.container.util;

import java.util.List;

import org.lightdi.container.meta.MetaComponent;

public final class MetaComponentUtil {

	public static MetaComponent getMetaComponent(
			List<MetaComponent> metaComponents, String componentName) {
		MetaComponent destMeta = null;
		for (MetaComponent each : metaComponents)
			if (each.getName().equals(componentName))
				return each;
		return destMeta;
	}

}
